#ifndef  _INSTALL_SIGNAL_H_
#define  _INSTALL_SIGNAL_H_

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>

#include "logger.h"

typedef struct proc_signal_s
{
    int       signal;
    unsigned  stop;     /* 0: Not term  1: Stop  */
    int       threads;  /* threads counter */
}  proc_signal_t;
 
extern proc_signal_t     g_signal;
extern void install_proc_signal(void);

#endif  